<#import "/spring.ftl" as spring />
<#import "/inspector-time-macros.ftl" as imacro />
<#setting number_format="0.##"/>

<html>
<head>
	<title>Fee Calculator</title>
	<link rel="stylesheet" type="text/css" href="<@spring.url "/css/databox.css" />" />
</head>
<body>
<div id="content">

	<h1>PRICING PLAN OVERVIEW</h1>
	
	<p>Below are the details for your current pricing plan. You can change your plan type or modify the plan's settings by clicking the "change" links.</p>

	<#if RequestParameters.message??>
		<div class="msg">${RequestParameters.message!}</div>
		<br/>
	</#if>
	
	<b>YOUR PLAN TYPE:</b> ${company.pricingPlanType} <a href="<@spring.url "/inspector/fee/feeWizardSelect.html" />" class="formLink">-change-</a><br/>
	<br/>
	<div style="border: solid 2px #004070; padding: 3px">
	<#if company.pricingPlanType == "BasicFlatFee">
		<#include "/inspector/fee/include-basicFlatFeePlanView.ftl" />
	</#if>
	<#if company.pricingPlanType == "ListingPrice">
		<#include "/inspector/fee/include-listingPricePlanView.ftl" />
	</#if>
	<#if company.pricingPlanType == "SquareFootage">
		<#include "/inspector/fee/include-sqFtPlanView.ftl" />
	</#if>
	<#if company.pricingPlanType == "BedsAndBaths">
		<#include "/inspector/fee/include-bedBathPlanView.ftl" />
	</#if>
	<#if company.pricingPlanType == "Advanced">
		<#include "/inspector/fee/include-advancedPlanView.ftl" />
	</#if>

	<#if company.distanceInMilesCenterZip??>
		<p>Add $${company.distanceInMilesFeeIncreasePerMile} per mile if the house is more than ${company.distanceInMilesLimit} miles away from zip code ${company.distanceInMilesCenterZip}.</p>
	</#if>
	</div>
</div>
</body>
</html>
